Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(node): increase integration test timeout #1291

Merged
merged 1 commit into from
Feb 19, 2021
Merged

Conversation

djskinner
Copy link
Contributor

Goal

Reduce the incidences of flakey tests. This test fails more often when run on GH actions as part of the PR diff bot.

Design

I looked at using jest fake timers instead of an arbitrary wait but that gives an error "Ran 100000 timers, and there are still more!".

Given that, I think increasing the wait a little is an acceptable solution. It shouldn't impact the overall test time given that jest runs tests in parallel.

Changeset

  • Increased timeout before running test assertions

Testing

  • Automated tests passing

@github-actions
Copy link

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 40.70 kB 12.54 kB
After 40.70 kB 12.54 kB
± No change No change

code coverage diff

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
0%(+0%) 0%(+0%) 0%(+0%) 0%(+0%)

Generated by 🚫 dangerJS against f8d9749

@djskinner djskinner merged commit 7da5b3b into next Feb 19, 2021
@djskinner djskinner deleted the test-increase-timeout branch February 19, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants